<script>
import { defineComponent, h } from "vue"

export default defineComponent({
  setup(props, { attrs, slots, emit, expose }) {
    return () =>
      h(
        "h1",
        { style: "color:red" },
        slots.default ? slots.default() : "我是默认值",
      )
  },
})
</script>
